package com.example.speeddating.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;

/**
 *
 * @author tina
 * @since 2023-07-20 10:56:04
 */
@Getter
@Setter
@TableName("email_code")
public class EmailCode implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 邮箱
     */
      private String email;

    /**
     * 编码
     */
    private String code;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 0未使用
     */
    private Integer status;
}
